@import "layout";
@keyframes move1 {
    0%{
        transform: translateX(0);
    }
    45%{
        transform: translateX(0);
    }
    55%{
        transform: translateX(-100vw);
    }
    100%{
        transform: translateX(-100vw);
    }
}
@keyframes move2 {
    0%{
        background-color: #fff;
    }
    45%{
        background-color: #fff;
    }
    55%{
        background-color: #ddd;
    }
    100%{
        background-color: #ddd;
    }
}
@keyframes move3 {
    0%{
        background-color: #ddd;
    }
    45%{
        background-color: #ddd;
    }
    55%{
        background-color: #fff;
    }
    100%{
        background-color: #fff;
    }
}

header{
    width: 7.211538rem;
    overflow: hidden;
    height: .903846rem;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    img{
        width: .576923rem;
        height: .576923rem;
        margin: .192308rem;
    }
    .center{
        width: 3.461538rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        a{
            display: block;
            position: relative;
            text-decoration: none;
            color: #333;
            height: .461538rem;
            font-size: .230769rem;
            &::after{
                content: '';
                display: none;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom: 0;
                width: .307692rem;
                height: .057692rem;
                background-color: #ff6700;
            }
            &:hover{
                color: #ff6700;
                &::after{
                    display: block;
                }
            }
        }
    }
}
.banner{
    width: 7.211538rem;
    overflow: hidden;
    height: 7.942308rem;
    margin: auto;
    overflow: hidden;
    position: relative;
    .banner-center{
        position: absolute;
        width: 200vw;
        height: 7.942308rem;
        top: 0;
        left: 0;
        transform: translateX(0);
        animation: move1 4s linear infinite;
        display: flex;
        img{
            width: 100vw;
        }
    }
    .banner-dot{
        width: .461538rem;
        height: .153846rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: .384615rem;
        display: flex;
        justify-content: space-between;
        div{
            width: .153846rem;
            height: .153846rem;
            border-radius: 50%;
            &:first-child{
                animation: move2 4s linear infinite;
            }
            &:last-child{
                animation: move3 4s linear infinite;
            }
        }
    }
}
section{
    width: 7.211538rem;
    overflow: hidden;
    .section-box1{
        padding-top: .192308rem;
        padding-left: .307692rem;
        padding-right: .307692rem;
        width: 6.596154rem;
        > span {
            font-size: .461538rem;
            color: #ff6700;
            > span {
                font-size: .269231rem;
                text-decoration: line-through;
            }
        }
        .one{
            width: 6.596154rem;
            height: .692308rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #ffdec7;
            border-radius: .096154rem;
            > span {
                margin: 0rem .192308rem;
                font-size: .269231rem;
                color: #ff6700;
                span{
                    border: .009615rem solid #ff6700;
                    font-size: .192308rem;
                }
            }
        }
        h4{
            font-size: .307692rem;
            margin-top: .192308rem;
            margin-bottom: .096154rem;
        }
        > p {
            display: block;
            > div {
                width: .230769rem;
                height: .230769rem;
                border-radius: 50%;
                border: .007692rem solid #eee;
                font-size: .192308rem;
                text-align: center;
                display: flex;
                align-items: center;
                margin-right: .192308rem;
            }
        }
    }
}
aside{
    background-color: #fff;
    width: 7.211538rem;
    .up{
        width: 7.211538rem;
        height: .692308rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: .269231rem;
        color: #333;
        position: sticky;
        top: .903846rem;
        background-color: #fff;
        span{
            &:nth-child(1){
                color: #ff6700;
            }
        }
    }
    .bottom{
        margin-top: .192308rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        img{
            width: 7.211538rem;
            flex-shrink: 0;
        }
    }
}
.love{
    width: 7.211538rem;
    overflow: hidden;
    background-color: #fff;
    .up{
        width: 6.596154rem;
        padding: 0 .317308rem;
        height: .807692rem;
        display: flex;
        align-items: center;
        span{
            font-size: .269231rem;
            color: #aaa;
            margin-left: .317308rem;
        }
    }
    .bottom{
        height: 9.605769rem;
        width: 7.211538rem;
        display: grid;
        grid-template-rows: repeat(2,4.730769rem);
        grid-template-columns: repeat(2,49.5%);
        gap: .072115rem 1%;
        .box{
            display: flex;
            flex-direction: column;
            background-color: #fff;
            justify-content: flex-start;
            img{
                width: 100%;
            }
            > span {
                font-size: .269231rem;
                color: #333;
                margin-left: .384615rem;
                margin-top: .076923rem;
                &:nth-child(3){
                    color: #ff6700;
                    
                }
                span{
                    color: #999;
                    font-size: .192308rem;
                    text-decoration: line-through;
                }
            }
        }
    }
}

footer{
    background-color: #fff;
    position: fixed;
    bottom: 0;
    height: 1rem;
    width: 6.596154rem;
    overflow: hidden;
    padding: 0 .317308rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left{
        width: 2.307692rem;
        display: flex;
        justify-content: space-between;
        a{
            display: flex;
            height: .769231rem;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            text-decoration: none;
            img{
                width: .384615rem;
                height: .384615rem;
            }
            span{
                font-size: .192308rem;
                color: #666;
            }
        }
    }
    .right{
        width: 3.461538rem;
        height: .769231rem;
        border-radius: .384615rem;
        background-color: #ff6700;
        color: #fff;
        font-size: .307692rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}